package com.fengxing.ams.web.facade.mouble.luqu;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "luquxinxi")
public class LuQuVO {

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((college_id == null) ? 0 : college_id.hashCode());
		result = prime * result
				+ ((major_id == null) ? 0 : major_id.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		LuQuVO other = (LuQuVO) obj;
		if (college_id == null) {
			if (other.college_id != null)
				return false;
		} else if (!college_id.equals(other.college_id))
			return false;
		if (major_id == null) {
			if (other.major_id != null)
				return false;
		} else if (!major_id.equals(other.major_id))
			return false;
		return true;
	}
	@Id
	String number;
	Integer year;
	String name;
	String plan;
	String batch;
	String school;
	String major;
	String enroll;
	String type;
	Double zongfen;
	Integer college_id;
	String major_id;
	
	
	public Integer getCollege_id() {
		return college_id;
	}
	public void setCollege_id(Integer college_id) {
		this.college_id = college_id;
	}
	public String getMajor_id() {
		return major_id;
	}
	public void setMajor_id(String major_id) {
		this.major_id = major_id;
	}
	public Double getZongfen() {
		return zongfen;
	}
	public void setZongfen(Double zongfen) {
		this.zongfen = zongfen;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public Integer getYear() {
		return year;
	}
	public void setYear(Integer year) {
		this.year = year;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPlan() {
		return plan;
	}
	public void setPlan(String plan) {
		this.plan = plan;
	}
	public String getBatch() {
		return batch;
	}
	public void setBatch(String batch) {
		this.batch = batch;
	}
	public String getSchool() {
		return school;
	}
	public void setSchool(String school) {
		this.school = school;
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	public String getEnroll() {
		return enroll;
	}
	public void setEnroll(String enroll) {
		this.enroll = enroll;
	}
	
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("number=").append(this.number)
		.append("name=").append(this.name)
		.append("year=").append(this.year)
		.append("enroll=").append(this.enroll)
		.append("major=").append(this.major)
		.append("school=").append(this.school)
		.append("batch=").append(this.batch)
		.append("plan=").append(this.plan)
		.append("type=").append(this.type);
		return sb.toString();
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	
	
}
